<div class="content content4 page" data-page="accountRecord" id="accountRecord">
	<p class="p1"><img src="../../../res/png/round2.png"/>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:changeTab(1)">融资记录</a></p>
	<div class="searchBox">
		<div class="tdiv">申请时间：<input placeholder="请选择时间" onclick="WdatePicker({maxDate:'#F{$dp.$D(\'dateEnd\',{d:0})}'})" id="dateBegin" class="input1" type="text"/>--<input placeholder="请选择时间" onclick="WdatePicker({minDate:'#F{$dp.$D(\'dateBegin\',{d:1})}'})" id="dateEnd" class="input1" type="text" style="margin-right: 48px;"/>融资编号：<input placeholder="请输入融资编号" class="input2 financeNumber" type="text" style="margin-right: 45px;"/>融资货物：<input placeholder="请输入融资货物" class="input2 bulkstockName" type="text"/></div>
		<div class="bdiv">借款金额：<input placeholder="请输入金额" class="input1" type="text" onchange="value=value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'')"/>--<input placeholder="请输入金额" class="input1" type="text" style="margin-right: 70px;" onchange="value=value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'')"/>状态：
			<select class="input2" id="accountRecordFinanceState" style="margin-right: 54px;">
				<option value="">全部</option>
				<option value="0">已取消</option>
				<option value="1">审批中</option>
				<option value="2">待确认</option>
				<option value="3">已审批</option>
				<option value="4">审批不通过</option>
				<option value="5">合同已签订</option>
				<option value="6">待验货</option>
				<option value="7">已验货</option>
				<option value="8">待放款</option>
				<option value="9">已收款</option>
				<option value="10">提货审批中</option>
				<option value="11">提货审批不通过</option>
				<option value="12">换货审批中</option>
				<option value="13">换货审批不通过</option>
				<option value="14">提货已审批</option>
				<option value="15">待放货</option>
				<option value="16">放货中</option>
				<option value="17">已签收</option>
				<option value="18">已完成</option>
				<option value="19">已评价</option>
				<option value="24">客户签署合同</option>
			</select>
			运单号：<input placeholder="请输入运单号" class="input2 waybillNumber" type="text"/><br />
			</div>
			<div class="bdiv">
				融资箱号：<input placeholder="请输入箱号" class="input2 caseNumber" type="text"/>
				<a id="accountRecordSearchButton">查询</a>
			</div>
	</div>
	<div style="margin-left: 27px; margin-right: 40px;">
	<table style="width: 100%;" class="data_table" cellspacing="0" cellpadding="0" id="accountRecordListBody">
	</table>
	</div>
	<script type="text/template" id="accountRecordListTpl">
		<tr>
			<th>申请时间 | 融资编号</th>
			<th>质押货物</th>
			<th>重量</th>
			<th>申请金额</th>
			<th>审批金额</th>
			<th>放款总额</th>
			<th>状态</th>
			<th>操作</th>
		</tr>
		{@each datas as it}
			<tr financeId="${it.financeId}" productType="${it.productType}">

				<td><span class="order_status" style="background: ${getValueByKey(32, it.productType)};">${getValueByKey(7, it.productType)}</span>&nbsp;&nbsp;${it.applicationDateTime}<br/><span class="order_num">${it.financeNumber}</span></td>
				<td>
					{@each it.bulkstocks as item}
						${item.bulkstockName}(${item.specification})<br />
					{@/each}
				</td>
				<td>
					{@each it.bulkstocks as item}
						${item.weight}吨<br />
					{@/each}
				</td>
				<td>&#65509;${it.applicationAmount / 10000} 万元</td>
				<td>&#65509;${it.financeAmount / 10000} 万元</td>
				<td>&#65509;${it.totalLoanAmount / 10000} 万元</td>
				<td>${getValueByKey(30, it.financeState)}</td>
				<td><a class="detail accountRecordDetail">详情</a>
			</tr>
		{@/each}
	</script>
	<div class="pagerCon"></div>
</div>